package com.biz.primus.model.sso.auth.vo;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.util.List;

/**
 * Created by younger on 17/11/3.
 * 菜单注册请求
 */
@Data
public class MenusRegisterReqVO {

    private static final long serialVersionUID = -3981174195703400498L;

    /**
     * 当前服务在注册中心注册的类型值
     */
    private String applicationType;

    /**
     * 当前服务在服务注册中心注册的类型描述
     */
    private String moduleDescription;

    private List<MenuGroupVO> menuGroupVOS;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }

    /**
     * {@linkplain MenusRegisterReqVO#menuGroupVOS}
     */
    public List<MenuGroupVO> getMenuGroups() {
        return menuGroupVOS;
    }

    /**
     * {@linkplain MenusRegisterReqVO#menuGroupVOS}
     */
    public void setMenuGroups(List<MenuGroupVO> menuGroupVOS) {
        this.menuGroupVOS = menuGroupVOS;
    }

    /**
     * {@linkplain MenusRegisterReqVO#moduleDescription}
     */
    public String getModuleDescription() {
        return moduleDescription;
    }

    /**
     * {@linkplain MenusRegisterReqVO#moduleDescription}
     */
    public void setModuleDescription(String moduleDescription) {
        this.moduleDescription = moduleDescription;
    }
}
